package com.dhc.appbusinessfrm.view.activity;

import android.os.Bundle;
import android.util.Log;

import com.dhc.appbusinessfrm.R;
import com.dhc.appbusinessfrm.ioc.presenter.WelcomePresenterModule;
import com.dhc.appbusinessfrm.presenter.WelcomePresenter;

import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.EActivity;

import java.util.Arrays;
import java.util.List;

import javax.inject.Inject;

@EActivity(R.layout.layout_welcome)
public class WelcomeActivity extends BaseActivity implements WelcomeInteractor {

    @Inject
    WelcomePresenter welcomePresenter;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected List<Object> getModules() {
        return Arrays.<Object>asList(new WelcomePresenterModule(this));
    }

    /**
     * 视图初始化
     */
    @AfterViews
    void init() {
        welcomePresenter.ini();
    }



}
